//index.js
const app = getApp()

Page({
  data: {
    lockerList: []
  },

  onLoad: function() {
    var that = this
    if (!wx.cloud) {
      wx.redirectTo({
        url: '../chooseLib/chooseLib',
      })
      return
    }
    that.getLockerList();
  },
  getLockerList:  function(){
    console.log(2222);
  },
  scanTab: function(){
    wx.scanCode({
      success(res){
        if (res.errMsg == 'scanCode:ok')
        {
          let result = res.result
        }
      }
    })
  }
})
